namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// ——配置 - 物料网络
    /// </summary>
    public DbSet<POWcsEquipLocNet> WcsEquipLocNets { get; set; }
}

/// <summary>
/// ——配置 - 物料网络
/// 表[wcs_equip_loc_net]
/// </summary>
[Table("wcs_equip_loc_net")]
public class POWcsEquipLocNet
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[wcs_equip_loc_net.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 设备Id
    /// [wcs_equip_loc_net.start_loc)]
    /// </summary>
    [Column("start_loc")]
    public long? StartLoc { get; set; }
    /// <summary>
    /// 货位Id
    /// [wcs_equip_loc_net.target_loc)]
    /// </summary>
    [Column("target_loc")]
    public long? TargetLoc { get; set; }
    /// <summary>
    /// 货位顺序
    /// [wcs_equip_loc_net.score_index)]
    /// </summary>
    [Column("score_index")]
    public int? ScoreIndex { get; set; }
    /// <summary>
    /// 关系分，分数越高约远
    /// [wcs_equip_loc_net.relate_score)]
    /// </summary>
    [Column("relate_score")]
    public int? RelateScore { get; set; }
    /// <summary>
    /// 创建时间
    /// [wcs_equip_loc_net.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [wcs_equip_loc_net.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [wcs_equip_loc_net.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
}
